package com.atguigu.lease.common.minio;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

//@Component
@Data
@ConfigurationProperties(prefix = "minio") //批量注入属性值
public class MinioProperties {
    //@Value("${minio.endpoint}")
    private String endpoint;
    private String accessKey;
    private String secretKey;
    private String bucketName;
}
